package com.wjn.dao.impl;

import org.mybatis.spring.support.SqlSessionDaoSupport;

import com.wjn.dao.UserDao;
import com.wjn.entity.User;

public class UserDaoImpl extends SqlSessionDaoSupport implements UserDao{

	@Override
	public User findUserById(Integer id) {
		return this.getSqlSession().selectOne("com.wjn.mapper.UserMapper.findUserById", id);
	}
	
}
